More canonical property names.
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 9 Mar 2005 06:15:13 +0000 (06:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 9 Mar 2005 06:15:13 +0000 (06:15 +0000)
54 files changed:
gtk/gtkaboutdialog.c
gtk/gtkaccellabel.c
gtk/gtkaction.c
gtk/gtkaspectframe.c
gtk/gtkbbox.c
gtk/gtkcalendar.c
gtk/gtkcellrenderercombo.c
gtk/gtkcellrendererpixbuf.c
gtk/gtkcellview.c
gtk/gtkcheckbutton.c
gtk/gtkcheckmenuitem.c
gtk/gtkclist.c
gtk/gtkcolorbutton.c
gtk/gtkcolorsel.c
gtk/gtkcombo.c
gtk/gtkcombobox.c
gtk/gtkcomboboxentry.c
gtk/gtkctree.c
gtk/gtkcurve.c
gtk/gtkdialog.c
gtk/gtkentrycompletion.c
gtk/gtkfilesel.c
gtk/gtkfontbutton.c
gtk/gtkfontsel.c
gtk/gtkframe.c
gtk/gtkhandlebox.c
gtk/gtkiconview.c
gtk/gtkimage.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenuitem.c
gtk/gtkmessagedialog.c
gtk/gtkoldeditable.c
gtk/gtkoptionmenu.c
gtk/gtkpaned.c
gtk/gtkprogress.c
gtk/gtkprogressbar.c
gtk/gtkrange.c
gtk/gtkruler.c
gtk/gtkscale.c
gtk/gtkspinbutton.c
gtk/gtkstatusbar.c
gtk/gtktable.c
gtk/gtktext.c
gtk/gtktextbuffer.c
gtk/gtktipsquery.c
gtk/gtktoggleaction.c
gtk/gtktogglebutton.c
gtk/gtktoolbar.c
gtk/gtktoolbutton.c
gtk/gtktoolitem.c
gtk/gtktreemodelfilter.c
gtk/gtkuimanager.c
gtk/gtkviewport.c

index 1224a4ca754548c7951b843b3107d7adf6958f9b..3489b6837028d53a130e5d6b7dfe707ebbec2791 100644 (file)
@@ -298,7 +298,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    */  
   g_object_class_install_property (object_class,
                                   PROP_WEBSITE_LABEL,
-                                  g_param_spec_string ("website_label",
+                                  g_param_spec_string ("website-label",
                                                        P_("Website label"),
                                                        P_("The label for the link to the website of the program. If this is not set, it defaults to the URL"),
                                                        NULL,
@@ -367,7 +367,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    */  
   g_object_class_install_property (object_class,
                                   PROP_TRANSLATOR_CREDITS,
-                                  g_param_spec_string ("translator_credits",
+                                  g_param_spec_string ("translator-credits",
                                                        P_("Translator credits"),
                                                        P_("Credits to the translators. This string should be marked as translatable"),
                                                        NULL,
@@ -399,7 +399,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    */  
   g_object_class_install_property (object_class,
                                   PROP_LOGO_ICON_NAME,
-                                  g_param_spec_string ("logo_icon_name",
+                                  g_param_spec_string ("logo-icon-name",
                                                        P_("Logo Icon Name"),
                                                        P_("A named icon to use as the logo for the about box."),
                                                        NULL,
@@ -407,7 +407,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
 
   /* Style properties */
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_boxed ("link_color",
+                                           g_param_spec_boxed ("link-color",
                                                                P_("Link Color"),
                                                                P_("Color of hyperlinks"),
                                                                GDK_TYPE_COLOR,
index ab0ce47dc8b484e9d8913b85d5f59855ef8aea51..e70a885f1d5ba7801576763fe69bfbece498c933 100644 (file)
@@ -135,14 +135,14 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEL_CLOSURE,
-                                   g_param_spec_boxed ("accel_closure",
+                                   g_param_spec_boxed ("accel-closure",
                                                       P_("Accelerator Closure"),
                                                       P_("The closure to be monitored for accelerator changes"),
                                                       G_TYPE_CLOSURE,
                                                       G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEL_WIDGET,
-                                   g_param_spec_object ("accel_widget",
+                                   g_param_spec_object ("accel-widget",
                                                         P_("Accelerator Widget"),
                                                         P_("The widget to be monitored for accelerator changes"),
                                                         GTK_TYPE_WIDGET,
index 1a2d25d7e75665b41a141762b71080b4b1629d65..c40e7448b69f965874f508c0f46449d532c5c970 100644 (file)
@@ -208,7 +208,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_SHORT_LABEL,
-                                  g_param_spec_string ("short_label",
+                                  g_param_spec_string ("short-label",
                                                        P_("Short label"),
                                                        P_("A shorter label that may be used on toolbar buttons."),
                                                        NULL,
@@ -222,7 +222,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_STOCK_ID,
-                                  g_param_spec_string ("stock_id",
+                                  g_param_spec_string ("stock-id",
                                                        P_("Stock Icon"),
                                                        P_("The stock icon displayed in widgets representing "
                                                           "this action."),
@@ -230,7 +230,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_VISIBLE_HORIZONTAL,
-                                  g_param_spec_boolean ("visible_horizontal",
+                                  g_param_spec_boolean ("visible-horizontal",
                                                         P_("Visible when horizontal"),
                                                         P_("Whether the toolbar item is visible when the toolbar "
                                                            "is in a horizontal orientation."),
@@ -246,7 +246,7 @@ gtk_action_class_init (GtkActionClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_VISIBLE_OVERFLOWN,
-                                  g_param_spec_boolean ("visible_overflown",
+                                  g_param_spec_boolean ("visible-overflown",
                                                         P_("Visible when overflown"),
                                                         P_("When TRUE, toolitem proxies for this action "
                                                            "are represented in the toolbar overflow menu."),
@@ -254,7 +254,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_VISIBLE_VERTICAL,
-                                  g_param_spec_boolean ("visible_vertical",
+                                  g_param_spec_boolean ("visible-vertical",
                                                         P_("Visible when vertical"),
                                                         P_("Whether the toolbar item is visible when the toolbar "
                                                            "is in a vertical orientation."),
@@ -262,7 +262,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_IS_IMPORTANT,
-                                  g_param_spec_boolean ("is_important",
+                                  g_param_spec_boolean ("is-important",
                                                         P_("Is important"),
                                                         P_("Whether the action is considered important. "
                                                            "When TRUE, toolitem proxies for this action "
@@ -271,7 +271,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_HIDE_IF_EMPTY,
-                                  g_param_spec_boolean ("hide_if_empty",
+                                  g_param_spec_boolean ("hide-if-empty",
                                                         P_("Hide if empty"),
                                                         P_("When TRUE, empty menu proxies for this action are hidden."),
                                                         TRUE,
@@ -292,7 +292,7 @@ gtk_action_class_init (GtkActionClass *klass)
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_ACTION_GROUP,
-                                  g_param_spec_object ("action_group",
+                                  g_param_spec_object ("action-group",
                                                         P_("Action Group"),
                                                         P_("The GtkActionGroup this GtkAction is associated with, or NULL (for internal use)."),
                                                         GTK_TYPE_ACTION_GROUP,
index e795df67d3570b014115340351ee2d7c905da5bf..454260f4812ac51ae4e7ce779dbbd8c5ed059000 100644 (file)
@@ -127,7 +127,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
                                                        G_PARAM_READABLE | G_PARAM_WRITABLE ));
   g_object_class_install_property (gobject_class,
                                    PROP_OBEY_CHILD,
-                                   g_param_spec_boolean ("obey_child",
+                                   g_param_spec_boolean ("obey-child",
                                                          P_("Obey child"),
                                                          P_("Force aspect ratio to match that of the frame's child"),
                                                          TRUE,
index ac9a9d1d32e98d7249fc0804b2ed64e645bbe675..a161e7e74cfa913f09293fcf662c87c3ff49b627 100644 (file)
@@ -117,7 +117,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
    */
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("child_min_width",
+                                          g_param_spec_int ("child-min-width",
                                                             P_("Minimum child width"),
                                                             P_("Minimum width of buttons inside the box"),
                                                             0,
@@ -126,7 +126,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("child_min_height",
+                                          g_param_spec_int ("child-min-height",
                                                             P_("Minimum child height"),
                                                             P_("Minimum height of buttons inside the box"),
                                                             0,
@@ -135,7 +135,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("child_internal_pad_x",
+                                          g_param_spec_int ("child-internal-pad-x",
                                                             P_("Child internal width padding"),
                                                             P_("Amount to increase child's size on either side"),
                                                             0,
@@ -144,7 +144,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("child_internal_pad_y",
+                                          g_param_spec_int ("child-internal-pad-y",
                                                             P_("Child internal height padding"),
                                                             P_("Amount to increase child's size on the top and bottom"),
                                                             0,
@@ -153,7 +153,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
                                                             G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_LAYOUT_STYLE,
-                                   g_param_spec_enum ("layout_style",
+                                   g_param_spec_enum ("layout-style",
                                                       P_("Layout style"),
                                                       P_("How to layout the buttons in the box. Possible values are default, spread, edge, start and end"),
                                                      GTK_TYPE_BUTTON_BOX_STYLE,
index e4ddf18b4ecfeb604ef66c62f596e3c7c585167e..69a3e841033a8a64501ab8e55d7b7b0a0207d994 100644 (file)
@@ -496,7 +496,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
  */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_HEADING,
-                                   g_param_spec_boolean ("show_heading",
+                                   g_param_spec_boolean ("show-heading",
                                                         P_("Show Heading"),
                                                         P_("If TRUE, a heading is displayed"),
                                                         TRUE,
@@ -511,7 +511,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
  */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_DAY_NAMES,
-                                   g_param_spec_boolean ("show_day_names",
+                                   g_param_spec_boolean ("show-day-names",
                                                         P_("Show Day Names"),
                                                         P_("If TRUE, day names are displayed"),
                                                         TRUE,
@@ -525,7 +525,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
  */
   g_object_class_install_property (gobject_class,
                                    PROP_NO_MONTH_CHANGE,
-                                   g_param_spec_boolean ("no_month_change",
+                                   g_param_spec_boolean ("no-month-change",
                                                         P_("No Month Change"),
                                                         P_("If TRUE, the selected month cannot be changed"),
                                                         FALSE,
@@ -540,7 +540,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
  */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_WEEK_NUMBERS,
-                                   g_param_spec_boolean ("show_week_numbers",
+                                   g_param_spec_boolean ("show-week-numbers",
                                                         P_("Show Week Numbers"),
                                                         P_("If TRUE, week numbers are displayed"),
                                                         FALSE,
index 1f027468d03df0315f877460bda8d970eb1bca11..ba3cb66552d6729c970e305803333de94a597ce5 100644 (file)
@@ -105,7 +105,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_COLUMN,
-                                   g_param_spec_int ("text_column",
+                                   g_param_spec_int ("text-column",
                                                      P_("Text Column"),
                                                      P_("A column in the data source model to get the strings from"),
                                                      -1,
@@ -123,7 +123,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_HAS_ENTRY,
-                                   g_param_spec_boolean ("has_entry",
+                                   g_param_spec_boolean ("has-entry",
                                                         P_("Has Entry"),
                                                         P_("If FALSE, don't allow to enter strings other than the chosen ones"),
                                                         TRUE,
index 3c3840c73c4d4b770b071b04c4fa8b55e522c43b..40e093eaca1848f4bdec5c3d161ce5666bac233b 100644 (file)
@@ -143,7 +143,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_PIXBUF_EXPANDER_OPEN,
-                                  g_param_spec_object ("pixbuf_expander_open",
+                                  g_param_spec_object ("pixbuf-expander-open",
                                                        P_("Pixbuf Expander Open"),
                                                        P_("Pixbuf for open expander"),
                                                        GDK_TYPE_PIXBUF,
@@ -152,7 +152,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_PIXBUF_EXPANDER_CLOSED,
-                                  g_param_spec_object ("pixbuf_expander_closed",
+                                  g_param_spec_object ("pixbuf-expander-closed",
                                                        P_("Pixbuf Expander Closed"),
                                                        P_("Pixbuf for closed expander"),
                                                        GDK_TYPE_PIXBUF,
@@ -161,7 +161,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_STOCK_ID,
-                                  g_param_spec_string ("stock_id",
+                                  g_param_spec_string ("stock-id",
                                                        P_("Stock ID"),
                                                        P_("The stock ID of the stock icon to render"),
                                                        NULL,
@@ -169,7 +169,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_STOCK_SIZE,
-                                  g_param_spec_uint ("stock_size",
+                                  g_param_spec_uint ("stock-size",
                                                      P_("Size"),
                                                      P_("The GtkIconSize value that specifies the size of the rendered icon"),
                                                      0,
@@ -179,7 +179,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_STOCK_DETAIL,
-                                  g_param_spec_string ("stock_detail",
+                                  g_param_spec_string ("stock-detail",
                                                        P_("Detail"),
                                                        P_("Render detail to pass to the theme engine"),
                                                        NULL,
@@ -195,7 +195,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_FOLLOW_STATE,
-                                  g_param_spec_boolean ("follow_state",
+                                  g_param_spec_boolean ("follow-state",
                                                         P_("Follow State"),
                                                         P_("Whether the rendered pixbuf should be "
                                                            "colorized according to the state"),
index 66422849433a9984642f5b96a9c2cfcb0f512d3c..1b1d8c2c931a0b557bedb479edddb3f0a4584801 100644 (file)
@@ -185,7 +185,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
                                                         G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_BACKGROUND_GDK,
-                                   g_param_spec_boxed ("background_gdk",
+                                   g_param_spec_boxed ("background-gdk",
                                                       P_("Background color"),
                                                       P_("Background color as a GdkColor"),
                                                       GDK_TYPE_COLOR,
@@ -193,7 +193,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
 
 #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (gobject_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
 
-  ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET,
+  ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET,
                 P_("Background set"),
                 P_("Whether this tag affects the background color"));
 
index 10f7cdcfbb30c4885546b086ad60ff1e11f70539..7c6bc801e344dbdd6edebc58c19ceeec43146f6d 100644 (file)
@@ -96,7 +96,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
   class->draw_indicator = gtk_real_check_button_draw_indicator;
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("indicator_size",
+                                          g_param_spec_int ("indicator-size",
                                                             P_("Indicator Size"),
                                                             P_("Size of check or radio indicator"),
                                                             0,
@@ -104,7 +104,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
                                                             INDICATOR_SIZE,
                                                             G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("indicator_spacing",
+                                          g_param_spec_int ("indicator-spacing",
                                                             P_("Indicator Spacing"),
                                                             P_("Spacing around check or radio indicator"),
                                                             0,
index a2a07eaff75d35362af5a7fa09baf29d093bd5b6..5a3e9884fc9d4a9a698daf00c581f1da17147554 100644 (file)
@@ -130,14 +130,14 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
   
   g_object_class_install_property (gobject_class,
                                    PROP_DRAW_AS_RADIO,
-                                   g_param_spec_boolean ("draw_as_radio",
+                                   g_param_spec_boolean ("draw-as-radio",
                                                          P_("Draw as radio menu item"),
                                                          P_("Whether the menu item looks like a radio menu item"),
                                                          FALSE,
                                                          G_PARAM_READWRITE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("indicator_size",
+                                           g_param_spec_int ("indicator-size",
                                                              P_("Indicator Size")
 ,
                                                              P_("Size of check or radio indicator"),
index cdd9a03d985bd325098b6a9e95ab0364ad76dd58..eabeb5a45df8cd6fc77b54cd170a9e615982ce5d 100644 (file)
@@ -575,19 +575,19 @@ gtk_clist_class_init (GtkCListClass *klass)
   klass->set_cell_contents = set_cell_contents;
   klass->cell_size_request = cell_size_request;
 
-  gtk_object_add_arg_type ("GtkCList::n_columns",
+  gtk_object_add_arg_type ("GtkCList::n-columns",
                           GTK_TYPE_UINT,
                           GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY,
                           ARG_N_COLUMNS);
-  gtk_object_add_arg_type ("GtkCList::shadow_type",
+  gtk_object_add_arg_type ("GtkCList::shadow-type",
                           GTK_TYPE_SHADOW_TYPE,
                           GTK_ARG_READWRITE,
                           ARG_SHADOW_TYPE);
-  gtk_object_add_arg_type ("GtkCList::selection_mode",
+  gtk_object_add_arg_type ("GtkCList::selection-mode",
                           GTK_TYPE_SELECTION_MODE,
                           GTK_ARG_READWRITE,
                           ARG_SELECTION_MODE);
-  gtk_object_add_arg_type ("GtkCList::row_height",
+  gtk_object_add_arg_type ("GtkCList::row-height",
                           GTK_TYPE_UINT,
                           GTK_ARG_READWRITE,
                           ARG_ROW_HEIGHT);
@@ -595,15 +595,15 @@ gtk_clist_class_init (GtkCListClass *klass)
                           GTK_TYPE_BOOL,
                           GTK_ARG_READWRITE,
                           ARG_REORDERABLE);
-  gtk_object_add_arg_type ("GtkCList::titles_active",
+  gtk_object_add_arg_type ("GtkCList::titles-active",
                           GTK_TYPE_BOOL,
                           GTK_ARG_READWRITE,
                           ARG_TITLES_ACTIVE);
-  gtk_object_add_arg_type ("GtkCList::use_drag_icons",
+  gtk_object_add_arg_type ("GtkCList::use-drag-icons",
                           GTK_TYPE_BOOL,
                           GTK_ARG_READWRITE,
                           ARG_USE_DRAG_ICONS);
-  gtk_object_add_arg_type ("GtkCList::sort_type",
+  gtk_object_add_arg_type ("GtkCList::sort-type",
                           GTK_TYPE_SORT_TYPE,
                           GTK_ARG_READWRITE,
                           ARG_SORT_TYPE);  
@@ -870,11 +870,11 @@ gtk_clist_class_init (GtkCListClass *klass)
                                "scroll_horizontal", 2,
                                GTK_TYPE_ENUM, GTK_SCROLL_JUMP,
                                GTK_TYPE_FLOAT, 1.0);
+
   gtk_binding_entry_add_signal (binding_set, GDK_KP_End, 0,
                                "scroll_horizontal", 2,
                                GTK_TYPE_ENUM, GTK_SCROLL_JUMP,
                                GTK_TYPE_FLOAT, 1.0);
-
   
   gtk_binding_entry_add_signal (binding_set, GDK_Escape, 0,
                                "undo_selection", 0);
index 59ba32f69c64113a0708ea489ae8f3cfb4d68733..65a26146842423fd582dd9352b1534ded74b9cee 100644 (file)
@@ -200,7 +200,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_ALPHA,
-                                   g_param_spec_boolean ("use_alpha", P_("Use alpha"), 
+                                   g_param_spec_boolean ("use-alpha", P_("Use alpha"), 
                                                          P_("Whether or not to give the color an alpha value"),
                                                          FALSE,
                                                          (G_PARAM_READABLE | G_PARAM_WRITABLE)));
index 9916d4c87694948bc6ed98cb13ee115a761cc0bf..7baea1367fe6f070375af390bdeb3d69937bc558 100644 (file)
@@ -1813,28 +1813,28 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
   
   g_object_class_install_property (gobject_class,
                                    PROP_HAS_OPACITY_CONTROL,
-                                   g_param_spec_boolean ("has_opacity_control",
+                                   g_param_spec_boolean ("has-opacity-control",
                                                         P_("Has Opacity Control"),
                                                         P_("Whether the color selector should allow setting opacity"),
                                                         FALSE,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_HAS_PALETTE,
-                                   g_param_spec_boolean ("has_palette",
+                                   g_param_spec_boolean ("has-palette",
                                                         P_("Has palette"),
                                                         P_("Whether a palette should be used"),
                                                         FALSE,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_CURRENT_COLOR,
-                                   g_param_spec_boxed ("current_color",
+                                   g_param_spec_boxed ("current-color",
                                                        P_("Current Color"),
                                                        P_("The current color"),
                                                        GDK_TYPE_COLOR,
                                                        G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_CURRENT_ALPHA,
-                                   g_param_spec_uint ("current_alpha",
+                                   g_param_spec_uint ("current-alpha",
                                                      P_("Current Alpha"),
                                                      P_("The current opacity value (0 fully transparent, 65535 fully opaque)"),
                                                      0, 65535, 65535,
index c788e943696b3709daaac8f093f96f37b9ff67a4..51ed736d31eeadd27783676ae5c00912bc7add6c 100644 (file)
@@ -141,21 +141,21 @@ gtk_combo_class_init (GtkComboClass * klass)
 
   g_object_class_install_property (gobject_class,
                                    PROP_ENABLE_ARROW_KEYS,
-                                   g_param_spec_boolean ("enable_arrow_keys",
+                                   g_param_spec_boolean ("enable-arrow-keys",
                                                          P_("Enable arrow keys"),
                                                          P_("Whether the arrow keys move through the list of items"),
                                                          TRUE,
                                                          G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_ENABLE_ARROWS_ALWAYS,
-                                   g_param_spec_boolean ("enable_arrows_always",
+                                   g_param_spec_boolean ("enable-arrows-always",
                                                          P_("Always enable arrows"),
                                                          P_("Obsolete property, ignored"),
                                                          TRUE,
                                                          G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_CASE_SENSITIVE,
-                                   g_param_spec_boolean ("case_sensitive",
+                                   g_param_spec_boolean ("case-sensitive",
                                                          P_("Case sensitive"),
                                                          P_("Whether list item matching is case sensitive"),
                                                          FALSE,
@@ -163,7 +163,7 @@ gtk_combo_class_init (GtkComboClass * klass)
 
   g_object_class_install_property (gobject_class,
                                    PROP_ALLOW_EMPTY,
-                                   g_param_spec_boolean ("allow_empty",
+                                   g_param_spec_boolean ("allow-empty",
                                                          P_("Allow empty"),
                                                         P_("Whether an empty value may be entered in this field"),
                                                          TRUE,
@@ -171,7 +171,7 @@ gtk_combo_class_init (GtkComboClass * klass)
 
   g_object_class_install_property (gobject_class,
                                    PROP_VALUE_IN_LIST,
-                                   g_param_spec_boolean ("value_in_list",
+                                   g_param_spec_boolean ("value-in-list",
                                                          P_("Value in list"),
                                                          P_("Whether entered values must already be present in the list"),
                                                          FALSE,
index 86046aabe4b19ea732b881c5f48ecbda4f9eec88..c1ac9332bd4870a2bd4ebc7f2146b09146f1cd2f 100644 (file)
@@ -564,7 +564,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_WRAP_WIDTH,
-                                   g_param_spec_int ("wrap_width",
+                                   g_param_spec_int ("wrap-width",
                                                      P_("Wrap width"),
                                                      P_("Wrap width for layouting the items in a grid"),
                                                      0,
@@ -587,7 +587,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ROW_SPAN_COLUMN,
-                                   g_param_spec_int ("row_span_column",
+                                   g_param_spec_int ("row-span-column",
                                                      P_("Row span column"),
                                                      P_("TreeModel column containing the row span values"),
                                                      -1,
@@ -609,7 +609,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_COLUMN_SPAN_COLUMN,
-                                   g_param_spec_int ("column_span_column",
+                                   g_param_spec_int ("column-span-column",
                                                      P_("Column span column"),
                                                      P_("TreeModel column containing the column span values"),
                                                      -1,
@@ -674,7 +674,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
   
   g_object_class_install_property (object_class,
                                    PROP_FOCUS_ON_CLICK,
-                                   g_param_spec_boolean ("focus_on_click",
+                                   g_param_spec_boolean ("focus-on-click",
                                                         P_("Focus on click"),
                                                         P_("Whether the combo box grabs focus when it is clicked with the mouse"),
                                                         TRUE,
index e43829fe04eb25c7dff79e552a7a96740594170d..75985965888a6499eaa86fb28bfe954569c386ca 100644 (file)
@@ -110,7 +110,7 @@ gtk_combo_box_entry_class_init (GtkComboBoxEntryClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_TEXT_COLUMN,
-                                   g_param_spec_int ("text_column",
+                                   g_param_spec_int ("text-column",
                                                      P_("Text Column"),
                                                      P_("A column in the data source model to get the strings from"),
                                                      -1,
index bd9932d66e3a5ee067f195ec548748ea4491fba5..6434f17132d5ccfea0fb4c6fc6a4df23e5226f5a 100644 (file)
@@ -404,11 +404,11 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
   klass->tree_move = real_tree_move;
   klass->change_focus_row_expansion = change_focus_row_expansion;
 
-  gtk_object_add_arg_type ("GtkCTree::n_columns", /* overrides GtkCList::n_columns!! */
+  gtk_object_add_arg_type ("GtkCTree::n-columns", /* overrides GtkCList::n_columns!! */
                           GTK_TYPE_UINT,
                           GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY,
                           ARG_N_COLUMNS);
-  gtk_object_add_arg_type ("GtkCTree::tree_column",
+  gtk_object_add_arg_type ("GtkCTree::tree-column",
                           GTK_TYPE_UINT,
                           GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY,
                           ARG_TREE_COLUMN);
@@ -420,15 +420,15 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
                           GTK_TYPE_UINT,
                           GTK_ARG_READWRITE,
                           ARG_SPACING);
-  gtk_object_add_arg_type ("GtkCTree::show_stub",
+  gtk_object_add_arg_type ("GtkCTree::show-stub",
                           GTK_TYPE_BOOL,
                           GTK_ARG_READWRITE,
                           ARG_SHOW_STUB);
-  gtk_object_add_arg_type ("GtkCTree::line_style",
+  gtk_object_add_arg_type ("GtkCTree::line-style",
                           GTK_TYPE_CTREE_LINE_STYLE,
                           GTK_ARG_READWRITE,
                           ARG_LINE_STYLE);
-  gtk_object_add_arg_type ("GtkCTree::expander_style",
+  gtk_object_add_arg_type ("GtkCTree::expander-style",
                           GTK_TYPE_CTREE_EXPANDER_STYLE,
                           GTK_ARG_READWRITE,
                           ARG_EXPANDER_STYLE);
index 56523f845a89ad741553fe096401fdcddef5ce45..c3ee5aa98a43d77916abeaace90c8d01e7ffce45 100644 (file)
@@ -119,7 +119,7 @@ gtk_curve_class_init (GtkCurveClass *class)
   
   g_object_class_install_property (gobject_class,
                                   PROP_CURVE_TYPE,
-                                  g_param_spec_enum ("curve_type",
+                                  g_param_spec_enum ("curve-type",
                                                      P_("Curve type"),
                                                      P_("Is this curve linear, spline interpolated, or free-form"),
                                                      GTK_TYPE_CURVE_TYPE,
@@ -128,7 +128,7 @@ gtk_curve_class_init (GtkCurveClass *class)
                                                      G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_MIN_X,
-                                  g_param_spec_float ("min_x",
+                                  g_param_spec_float ("min-x",
                                                       P_("Minimum X"),
                                                       P_("Minimum possible value for X"),
                                                       -G_MAXFLOAT,
@@ -138,7 +138,7 @@ gtk_curve_class_init (GtkCurveClass *class)
                                                       G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_MAX_X,
-                                  g_param_spec_float ("max_x",
+                                  g_param_spec_float ("max-x",
                                                       P_("Maximum X"),
                                                       P_("Maximum possible X value"),
                                                       -G_MAXFLOAT,
@@ -148,7 +148,7 @@ gtk_curve_class_init (GtkCurveClass *class)
                                                       G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_MIN_Y,
-                                  g_param_spec_float ("min_y",
+                                  g_param_spec_float ("min-y",
                                                       P_("Minimum Y"),
                                                       P_("Minimum possible value for Y"),
                                                        -G_MAXFLOAT,
@@ -158,7 +158,7 @@ gtk_curve_class_init (GtkCurveClass *class)
                                                       G_PARAM_WRITABLE));  
   g_object_class_install_property (gobject_class,
                                   PROP_MAX_Y,
-                                  g_param_spec_float ("max_y",
+                                  g_param_spec_float ("max-y",
                                                       P_("Maximum Y"),
                                                       P_("Maximum possible value for Y"),
                                                       -G_MAXFLOAT,
index 77191f429342cc4e93c86e76b311365532067f13..da1ea326bac515b5380f00d0b2e2ca8653fa41c1 100644 (file)
@@ -144,7 +144,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_HAS_SEPARATOR,
-                                   g_param_spec_boolean ("has_separator",
+                                   g_param_spec_boolean ("has-separator",
                                                         P_("Has separator"),
                                                         P_("The dialog has a separator bar above its buttons"),
                                                          TRUE,
@@ -170,7 +170,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
                  G_TYPE_NONE, 0);
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("content_area_border",
+                                          g_param_spec_int ("content-area-border",
                                                              P_("Content area border"),
                                                              P_("Width of border around the main dialog area"),
                                                              0,
@@ -178,7 +178,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
                                                              2,
                                                              G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("button_spacing",
+                                           g_param_spec_int ("button-spacing",
                                                              P_("Button spacing"),
                                                              P_("Spacing between buttons"),
                                                              0,
@@ -187,7 +187,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
                                                              G_PARAM_READABLE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("action_area_border",
+                                           g_param_spec_int ("action-area-border",
                                                              P_("Action area border"),
                                                              P_("Width of border around the button area at the bottom of the dialog"),
                                                              0,
index 2c742054e91e6a885baae3b774283ca7576fb3a0..4a9028d5e1929825bb3d12f9e13c585437468419 100644 (file)
@@ -275,7 +275,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_MINIMUM_KEY_LENGTH,
-                                   g_param_spec_int ("minimum_key_length",
+                                   g_param_spec_int ("minimum-key-length",
                                                      P_("Minimum Key Length"),
                                                      P_("Minimum length of the search key in order to look up matches"),
                                                      0,
@@ -291,7 +291,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_COLUMN,
-                                   g_param_spec_int ("text_column",
+                                   g_param_spec_int ("text-column",
                                                      P_("Text column"),
                                                      P_("The column of the model containing the strings."),
                                                      -1,
@@ -309,7 +309,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    **/
   g_object_class_install_property (object_class,
                                   PROP_INLINE_COMPLETION,
-                                  g_param_spec_boolean ("inline_completion",
+                                  g_param_spec_boolean ("inline-completion",
                                                         P_("Inline completion"),
                                                         P_("Whether the common prefix should be inserted automatically"),
                                                         FALSE,
@@ -324,7 +324,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    **/
   g_object_class_install_property (object_class,
                                   PROP_POPUP_COMPLETION,
-                                  g_param_spec_boolean ("popup_completion",
+                                  g_param_spec_boolean ("popup-completion",
                                                         P_("Popup completion"),
                                                         P_("Whether the completions should be shown in a popup window"),
                                                         TRUE,
index a36aa4484b41e8ddf73de52b48b959b05153e355..7324e49b4e67b7a0b8bda214a076c74dfc599784 100644 (file)
@@ -563,7 +563,7 @@ gtk_file_selection_class_init (GtkFileSelectionClass *class)
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_SHOW_FILEOPS,
-                                  g_param_spec_boolean ("show_fileops",
+                                  g_param_spec_boolean ("show-fileops",
                                                         P_("Show file operations"),
                                                         P_("Whether buttons for creating/manipulating files should be displayed"),
                                                         FALSE,
@@ -571,7 +571,7 @@ gtk_file_selection_class_init (GtkFileSelectionClass *class)
                                                         G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_SELECT_MULTIPLE,
-                                  g_param_spec_boolean ("select_multiple",
+                                  g_param_spec_boolean ("select-multiple",
                                                         P_("Select multiple"),
                                                         P_("Whether to allow multiple files to be selected"),
                                                         FALSE,
index b26b8af383e9b08b4a8fbc939428c3b54dee145f..de53ffcc7aa22cd773fbc727b524f6d67394cde9 100644 (file)
@@ -188,7 +188,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_FONT_NAME,
-                                   g_param_spec_string ("font_name",
+                                   g_param_spec_string ("font-name",
                                                         P_("Font name"),
                                                         P_("The name of the selected font"),
                                                         P_("Sans 12"),
@@ -204,7 +204,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_FONT,
-                                   g_param_spec_boolean ("use_font",
+                                   g_param_spec_boolean ("use-font",
                                                          P_("Use font in label"),
                                                          P_("Whether the label is drawn in the selected font"),
                                                          FALSE,
@@ -220,7 +220,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_SIZE,
-                                   g_param_spec_boolean ("use_size",
+                                   g_param_spec_boolean ("use-size",
                                                          P_("Use size in label"),
                                                          P_("Whether the label is drawn with the selected font size"),
                                                          FALSE,
@@ -237,7 +237,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_STYLE,
-                                   g_param_spec_boolean ("show_style",
+                                   g_param_spec_boolean ("show-style",
                                                          P_("Show style"),
                                                          P_("Whether the selected font style is shown in the label"),
                                                          TRUE,
@@ -253,7 +253,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_SIZE,
-                                   g_param_spec_boolean ("show_size",
+                                   g_param_spec_boolean ("show-size",
                                                          P_("Show size"),
                                                          P_("Whether selected font size is shown in the label"),
                                                          TRUE,
@@ -269,7 +269,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    *
    * Since: 2.4
    */
-  font_button_signals[FONT_SET] = g_signal_new ("font_set",
+  font_button_signals[FONT_SET] = g_signal_new ("font-set",
                                                 G_TYPE_FROM_CLASS (gobject_class),
                                                 G_SIGNAL_RUN_FIRST,
                                                 G_STRUCT_OFFSET (GtkFontButtonClass, font_set),
index dbec22c61f357456c0b775b90e87160d9ae1b522..ff621b70abbbb72525112b4fea053697ff5b8cb0 100644 (file)
@@ -211,7 +211,7 @@ gtk_font_selection_class_init (GtkFontSelectionClass *klass)
    
   g_object_class_install_property (gobject_class,
                                    PROP_FONT_NAME,
-                                   g_param_spec_string ("font_name",
+                                   g_param_spec_string ("font-name",
                                                         P_("Font name"),
                                                         P_("The X string that represents this font"),
                                                         NULL,
@@ -225,7 +225,7 @@ gtk_font_selection_class_init (GtkFontSelectionClass *klass)
                                                       G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_PREVIEW_TEXT,
-                                   g_param_spec_string ("preview_text",
+                                   g_param_spec_string ("preview-text",
                                                         P_("Preview text"),
                                                         P_("The text to display in order to demonstrate the selected font"),
                                                         PREVIEW_TEXT,
index a8f40a0955c429e0d4bd4509c89b98197998def1..32274ff80b107a4eb3acfd37ffa1ab5532cc0da3 100644 (file)
@@ -131,7 +131,7 @@ gtk_frame_class_init (GtkFrameClass *class)
                                                        G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_LABEL_XALIGN,
-                                  g_param_spec_float ("label_xalign",
+                                  g_param_spec_float ("label-xalign",
                                                       P_("Label xalign"),
                                                       P_("The horizontal alignment of the label"),
                                                       0.0,
@@ -141,7 +141,7 @@ gtk_frame_class_init (GtkFrameClass *class)
                                                       G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_LABEL_YALIGN,
-                                  g_param_spec_float ("label_yalign",
+                                  g_param_spec_float ("label-yalign",
                                                       P_("Label yalign"),
                                                       P_("The vertical alignment of the label"),
                                                       0.0,
@@ -158,7 +158,7 @@ gtk_frame_class_init (GtkFrameClass *class)
                                                       G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_SHADOW_TYPE,
-                                   g_param_spec_enum ("shadow_type",
+                                   g_param_spec_enum ("shadow-type",
                                                       P_("Frame shadow"),
                                                       P_("Appearance of the frame border"),
                                                      GTK_TYPE_SHADOW_TYPE,
@@ -167,7 +167,7 @@ gtk_frame_class_init (GtkFrameClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_LABEL_WIDGET,
-                                   g_param_spec_object ("label_widget",
+                                   g_param_spec_object ("label-widget",
                                                         P_("Label widget"),
                                                         P_("A widget to display in place of the usual frame label"),
                                                         GTK_TYPE_WIDGET,
index eb22c456be41f31a75566173e458786ff5d4fac4..7db1625a7b6f3151db64e26f3c3ce9ed7e0eb259 100644 (file)
@@ -203,7 +203,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
                                                       G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_SHADOW_TYPE,
-                                   g_param_spec_enum ("shadow_type",
+                                   g_param_spec_enum ("shadow-type",
                                                       P_("Shadow type"),
                                                       P_("Appearance of the shadow that surrounds the container"),
                                                      GTK_TYPE_SHADOW_TYPE,
@@ -212,7 +212,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_HANDLE_POSITION,
-                                   g_param_spec_enum ("handle_position",
+                                   g_param_spec_enum ("handle-position",
                                                       P_("Handle position"),
                                                       P_("Position of the handle relative to the child widget"),
                                                      GTK_TYPE_POSITION_TYPE,
@@ -221,7 +221,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_SNAP_EDGE,
-                                   g_param_spec_enum ("snap_edge",
+                                   g_param_spec_enum ("snap-edge",
                                                       P_("Snap edge"),
                                                       P_("Side of the handlebox that's lined up with the docking point to dock the handlebox"),
                                                      GTK_TYPE_POSITION_TYPE,
@@ -230,7 +230,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_SNAP_EDGE_SET,
-                                   g_param_spec_boolean ("snap_edge_set",
+                                   g_param_spec_boolean ("snap-edge-set",
                                                         P_("Snap edge set"),
                                                         P_("Whether to use the value from the snap_edge property or a value derived from handle_position"),
                                                         FALSE,
index 3cde8713958af45af4a8e8ba7c93d28e967334c9..ba505c6375712b189ed19d73e253d566c034a13d 100644 (file)
@@ -329,7 +329,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_SELECTION_MODE,
-                                  g_param_spec_enum ("selection_mode",
+                                  g_param_spec_enum ("selection-mode",
                                                      P_("Selection mode"),
                                                      P_("The selection mode"),
                                                      GTK_TYPE_SELECTION_MODE,
@@ -348,7 +348,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_PIXBUF_COLUMN,
-                                  g_param_spec_int ("pixbuf_column",
+                                  g_param_spec_int ("pixbuf-column",
                                                     P_("Pixbuf column"),
                                                     P_("Model column used to retrieve the icon pixbuf from"),
                                                     -1, G_MAXINT, -1,
@@ -366,7 +366,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_TEXT_COLUMN,
-                                  g_param_spec_int ("text_column",
+                                  g_param_spec_int ("text-column",
                                                     P_("Text column"),
                                                     P_("Model column used to retrieve the text from"),
                                                     -1, G_MAXINT, -1,
@@ -386,7 +386,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_MARKUP_COLUMN,
-                                  g_param_spec_int ("markup_column",
+                                  g_param_spec_int ("markup-column",
                                                     P_("Markup column"),
                                                     P_("Model column used to retrieve the text if using Pango markup"),
                                                     -1, G_MAXINT, -1,
@@ -429,7 +429,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_ITEM_WIDTH,
-                                  g_param_spec_int ("item_width",
+                                  g_param_spec_int ("item-width",
                                                     P_("Width for each item"),
                                                     P_("The width used for each item"),
                                                     -1, G_MAXINT, -1,
@@ -461,7 +461,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ROW_SPACING,
-                                   g_param_spec_int ("row_spacing",
+                                   g_param_spec_int ("row-spacing",
                                                     P_("Row Spacing"),
                                                     P_("Space which is inserted between grid rows"),
                                                     0, G_MAXINT, 6,
@@ -477,7 +477,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_COLUMN_SPACING,
-                                   g_param_spec_int ("column_spacing",
+                                   g_param_spec_int ("column-spacing",
                                                     P_("Column Spacing"),
                                                     P_("Space which is inserted between grid column"),
                                                     0, G_MAXINT, 6,
@@ -519,14 +519,14 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
 
   /* Style properties */
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_boxed ("selection_box_color",
+                                           g_param_spec_boxed ("selection-box-color",
                                                                P_("Selection Box Color"),
                                                                P_("Color of the selection box"),
                                                                GDK_TYPE_COLOR,
                                                                G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_uchar ("selection_box_alpha",
+                                           g_param_spec_uchar ("selection-box-alpha",
                                                                P_("Selection Box Alpha"),
                                                                P_("Opacity of the selection box"),
                                                                0, 0xff,
index 0e91ab1750cdfcaf1090d79c0ca6c7f7afe21320..0b63c359fb3631800add8da0d7450e0f1fada336 100644 (file)
@@ -203,7 +203,7 @@ gtk_image_class_init (GtkImageClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_ICON_SET,
-                                   g_param_spec_boxed ("icon_set",
+                                   g_param_spec_boxed ("icon-set",
                                                        P_("Icon set"),
                                                        P_("Icon set to display"),
                                                        GTK_TYPE_ICON_SET,
@@ -211,7 +211,7 @@ gtk_image_class_init (GtkImageClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_ICON_SIZE,
-                                   g_param_spec_int ("icon_size",
+                                   g_param_spec_int ("icon-size",
                                                      P_("Icon size"),
                                                      P_("Symbolic size to use for stock icon, icon set or named icon"),
                                                      0, G_MAXINT,
@@ -228,7 +228,7 @@ gtk_image_class_init (GtkImageClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_PIXEL_SIZE,
-                                  g_param_spec_int ("pixel_size",
+                                  g_param_spec_int ("pixel-size",
                                                     P_("Pixel size"),
                                                     P_("Pixel size to use for named icon"),
                                                     -1, G_MAXINT,
@@ -237,7 +237,7 @@ gtk_image_class_init (GtkImageClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_PIXBUF_ANIMATION,
-                                   g_param_spec_object ("pixbuf_animation",
+                                   g_param_spec_object ("pixbuf-animation",
                                                         P_("Animation"),
                                                         P_("GdkPixbufAnimation to display"),
                                                         GDK_TYPE_PIXBUF_ANIMATION,
@@ -253,7 +253,7 @@ gtk_image_class_init (GtkImageClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ICON_NAME,
-                                   g_param_spec_string ("icon_name",
+                                   g_param_spec_string ("icon-name",
                                                         P_("Icon Name"),
                                                         P_("The name of the icon from the icon theme"),
                                                         NULL,
@@ -261,7 +261,7 @@ gtk_image_class_init (GtkImageClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_STORAGE_TYPE,
-                                   g_param_spec_enum ("storage_type",
+                                   g_param_spec_enum ("storage-Type",
                                                       P_("Storage type"),
                                                       P_("The representation being used for image data"),
                                                       GTK_TYPE_IMAGE_TYPE,
index 7d4950b6bc550c86bfe49b6aa0e710de6beed463..1f2d9d13ce35c885c9052066fc0616613474df5f 100644 (file)
@@ -575,7 +575,7 @@ gtk_menu_class_init (GtkMenuClass *class)
 
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
-                                             g_param_spec_int ("left_attach",
+                                             g_param_spec_int ("left-attach",
                                                                P_("Left Attach"),
                                                                P_("The column number to attach the left side of the child to"),
                                                                -1, INT_MAX, -1,
@@ -583,7 +583,7 @@ gtk_menu_class_init (GtkMenuClass *class)
 
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_RIGHT_ATTACH,
-                                             g_param_spec_int ("right_attach",
+                                             g_param_spec_int ("right-attach",
                                                                P_("Right Attach"),
                                                                P_("The column number to attach the right side of the child to"),
                                                                -1, INT_MAX, -1,
@@ -591,7 +591,7 @@ gtk_menu_class_init (GtkMenuClass *class)
 
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TOP_ATTACH,
-                                             g_param_spec_int ("top_attach",
+                                             g_param_spec_int ("top-attach",
                                                                P_("Top Attach"),
                                                                P_("The row number to attach the top of the child to"),
                                                                -1, INT_MAX, -1,
@@ -599,7 +599,7 @@ gtk_menu_class_init (GtkMenuClass *class)
 
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_BOTTOM_ATTACH,
-                                             g_param_spec_int ("bottom_attach",
+                                             g_param_spec_int ("bottom-attach",
                                                                P_("Bottom Attach"),
                                                                P_("The row number to attach the bottom of the child to"),
                                                                -1, INT_MAX, -1,
index 102fb126a8f0dc8c5b85b522d862e8b11a7b3f63..f52d00ecfb1ba952727df7df0fb1c62a034989eb 100644 (file)
@@ -196,7 +196,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_PACK_DIRECTION,
-                                  g_param_spec_enum ("pack_direction",
+                                  g_param_spec_enum ("pack-direction",
                                                      P_("Pack direction"),
                                                      P_("The pack direction of the menubar"),
                                                      GTK_TYPE_PACK_DIRECTION,
@@ -213,7 +213,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_CHILD_PACK_DIRECTION,
-                                  g_param_spec_enum ("child_pack_direction",
+                                  g_param_spec_enum ("child-pack-direction",
                                                      P_("Child Pack direction"),
                                                      P_("The child pack direction of the menubar"),
                                                      GTK_TYPE_PACK_DIRECTION,
@@ -222,7 +222,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
   
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_enum ("shadow_type",
+                                          g_param_spec_enum ("shadow-type",
                                                               P_("Shadow type"),
                                                               P_("Style of bevel around the menubar"),
                                                               GTK_TYPE_SHADOW_TYPE,
@@ -230,7 +230,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
                                                               G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("internal_padding",
+                                          g_param_spec_int ("internal-padding",
                                                             P_("Internal padding"),
                                                             P_("Amount of border space between the menubar shadow and the menu items"),
                                                             0,
index a06ddf48747c5d706b877a07436d4c7a098594dc..371f880353940b171c75cab7e94d5d8bab3f07ec 100644 (file)
@@ -205,7 +205,7 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
                  G_TYPE_INT);
 
   gtk_widget_class_install_style_property_parser (widget_class,
-                                                 g_param_spec_enum ("selected_shadow_type",
+                                                 g_param_spec_enum ("selected-shadow-type",
                                                                     "Selected Shadow Type",
                                                                     "Shadow type when item is selected",
                                                                     GTK_TYPE_SHADOW_TYPE,
@@ -214,7 +214,7 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
                                                  gtk_rc_property_parse_enum);
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("horizontal_padding",
+                                          g_param_spec_int ("horizontal-padding",
                                                             "Horizontal Padding",
                                                             "Padding to left and right of the menu item",
                                                             0,
@@ -223,7 +223,7 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("toggle_spacing",
+                                          g_param_spec_int ("toggle-spacing",
                                                             "Icon Spacing",
                                                             "Space between icon and label",
                                                             0,
@@ -232,7 +232,7 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("arrow_spacing",
+                                          g_param_spec_int ("arrow-spacing",
                                                             "Arrow Spacing",
                                                             "Space between label and arrow",
                                                             0,
index 9f66b74ec1edaeee85667bb1307d6c2efd09de97..fdb1024a520e568d95d61248c91836c8f301c00a 100644 (file)
@@ -120,7 +120,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
   gobject_class->get_property = gtk_message_dialog_get_property;
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("message_border",
+                                          g_param_spec_int ("message-border",
                                                              P_("Image/label border"),
                                                              P_("Width of border around the label and image in the message dialog"),
                                                              0,
@@ -136,14 +136,14 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    * Since: 2.4
    */
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_boolean ("use_separator",
+                                          g_param_spec_boolean ("use-separator",
                                                                 P_("Use separator"),
                                                                 P_("Whether to put a separator between the message dialog's text and the buttons"),
                                                                 FALSE,
                                                                 G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_MESSAGE_TYPE,
-                                   g_param_spec_enum ("message_type",
+                                   g_param_spec_enum ("message-type",
                                                      P_("Message Type"),
                                                      P_("The type of message"),
                                                      GTK_TYPE_MESSAGE_TYPE,
index 35e6a414409ea1de8ccb6c24042b150de3f1e11b..31150978dbe89dccad3a8ff96dfdc4f6e86c6e3d 100644 (file)
@@ -324,7 +324,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class)
                    _gtk_marshal_NONE__NONE,
                    GTK_TYPE_NONE, 0);
 
-  gtk_object_add_arg_type ("GtkOldEditable::text_position", GTK_TYPE_INT, GTK_ARG_READWRITE, ARG_TEXT_POSITION);
+  gtk_object_add_arg_type ("GtkOldEditable::text-position", GTK_TYPE_INT, GTK_ARG_READWRITE, ARG_TEXT_POSITION);
   gtk_object_add_arg_type ("GtkOldEditable::editable", GTK_TYPE_BOOL, GTK_ARG_READWRITE, ARG_EDITABLE);
 }
 
index ce59da5bc3375b10e9b10cf223c6521435872995..9791a7ff569b7780dc1492cc5f827fdeea5b61ea 100644 (file)
@@ -197,13 +197,13 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class)
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_boxed ("indicator_size",
+                                          g_param_spec_boxed ("indicator-size",
                                                               P_("Indicator Size"),
                                                               P_("Size of dropdown indicator"),
                                                               GTK_TYPE_REQUISITION,
                                                               G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_boxed ("indicator_spacing",
+                                          g_param_spec_boxed ("indicator-spacing",
                                                               P_("Indicator Spacing"),
                                                               P_("Spacing around indicator"),
                                                               GTK_TYPE_BORDER,
index 7ab84b44dc82528dca02074fb55f311910d8b289..f7870af296d51b33197692df89550aafcdad290f 100644 (file)
@@ -245,14 +245,14 @@ gtk_paned_class_init (GtkPanedClass *class)
                                                     G_PARAM_READABLE | G_PARAM_WRITABLE));
   g_object_class_install_property (object_class,
                                   PROP_POSITION_SET,
-                                  g_param_spec_boolean ("position_set",
+                                  g_param_spec_boolean ("position-set",
                                                         P_("Position Set"),
                                                         P_("TRUE if the Position property should be used"),
                                                         FALSE,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));
                                   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("handle_size",
+                                          g_param_spec_int ("handle-size",
                                                             P_("Handle Size"),
                                                             P_("Width of handle"),
                                                             0,
@@ -269,7 +269,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_MIN_POSITION,
-                                  g_param_spec_int ("min_position",
+                                  g_param_spec_int ("min-position",
                                                     P_("Minimal Position"),
                                                     P_("Smallest possible value for the \"position\" property"),
                                                     0,
@@ -287,7 +287,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_MAX_POSITION,
-                                  g_param_spec_int ("max_position",
+                                  g_param_spec_int ("max-position",
                                                     P_("Maximal Position"),
                                                     P_("Largest possible value for the \"position\" property"),
                                                     0,
index 368eead79da6c2c8e9a8005afccbcc16b1340d0b..b183f0d5d091b8d65533429520ec9ca1fd58e345 100644 (file)
@@ -127,7 +127,7 @@ gtk_progress_class_init (GtkProgressClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_ACTIVITY_MODE,
-                                   g_param_spec_boolean ("activity_mode",
+                                   g_param_spec_boolean ("activity-mode",
                                                         P_("Activity mode"),
                                                         P_("If TRUE the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something that you don't know how long it will take"),
                                                         FALSE,
@@ -135,7 +135,7 @@ gtk_progress_class_init (GtkProgressClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_TEXT,
-                                   g_param_spec_boolean ("show_text",
+                                   g_param_spec_boolean ("show-text",
                                                         P_("Show text"),
                                                         P_("Whether the progress is shown as text"),
                                                         FALSE,
@@ -143,7 +143,7 @@ gtk_progress_class_init (GtkProgressClass *class)
 
   g_object_class_install_property (gobject_class,
                                   PROP_TEXT_XALIGN,
-                                  g_param_spec_float ("text_xalign",
+                                  g_param_spec_float ("text-xalign",
                                                       P_("Text x alignment"),
                                                       P_("A number between 0.0 and 1.0 specifying the horizontal alignment of the text in the progress widget"),
                                                       0.0,
@@ -152,7 +152,7 @@ gtk_progress_class_init (GtkProgressClass *class)
                                                       G_PARAM_READWRITE));  
     g_object_class_install_property (gobject_class,
                                   PROP_TEXT_YALIGN,
-                                  g_param_spec_float ("text_yalign",
+                                  g_param_spec_float ("text-yalign",
                                                       P_("Text y alignment"),
                                                       P_("A number between 0.0 and 1.0 specifying the vertical alignment of the text in the progress widget"),
                                                       0.0,
index ac9f05201435a2f44e07d9e6ad907da9d5797149..6482eb424954963a95297b0a07795621adc33f03 100644 (file)
@@ -157,7 +157,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_BAR_STYLE,
-                                   g_param_spec_enum ("bar_style",
+                                   g_param_spec_enum ("bar-style",
                                                      P_("Bar style"),
                                                      P_("Specifies the visual style of the bar in percentage mode (Deprecated)"),
                                                      GTK_TYPE_PROGRESS_BAR_STYLE,
@@ -166,7 +166,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_ACTIVITY_STEP,
-                                   g_param_spec_uint ("activity_step",
+                                   g_param_spec_uint ("activity-step",
                                                      P_("Activity Step"),
                                                      P_("The increment used for each iteration in activity mode (Deprecated)"),
                                                      -G_MAXUINT,
@@ -176,7 +176,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_ACTIVITY_BLOCKS,
-                                   g_param_spec_uint ("activity_blocks",
+                                   g_param_spec_uint ("activity-blocks",
                                                      P_("Activity Blocks"),
                                                      P_("The number of blocks which can fit in the progress bar area in activity mode (Deprecated)"),
                                                      2,
@@ -186,7 +186,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_DISCRETE_BLOCKS,
-                                   g_param_spec_uint ("discrete_blocks",
+                                   g_param_spec_uint ("discrete-blocks",
                                                      P_("Discrete Blocks"),
                                                      P_("The number of discrete blocks in a progress bar (when shown in the discrete style)"),
                                                      2,
@@ -206,7 +206,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
   
   g_object_class_install_property (gobject_class,
                                   PROP_PULSE_STEP,
-                                  g_param_spec_double ("pulse_step",
+                                  g_param_spec_double ("pulse-step",
                                                        P_("Pulse Step"),
                                                        P_("The fraction of total progress to move the bouncing block when pulsed"),
                                                        0.0,
index bad90e36e38f40c2d38ca78061d391916c898297..d31a6d181d5f39f46a7fb339c340621ea2d6cc3a 100644 (file)
@@ -321,7 +321,7 @@ gtk_range_class_init (GtkRangeClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_UPDATE_POLICY,
-                                   g_param_spec_enum ("update_policy",
+                                   g_param_spec_enum ("update-policy",
                                                      P_("Update policy"),
                                                      P_("How the range should be updated on the screen"),
                                                      GTK_TYPE_UPDATE_TYPE,
@@ -345,7 +345,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                          G_PARAM_READWRITE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("slider_width",
+                                          g_param_spec_int ("slider-width",
                                                             P_("Slider Width"),
                                                             P_("Width of scrollbar or scale thumb"),
                                                             0,
@@ -353,7 +353,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                             14,
                                                             G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("trough_border",
+                                          g_param_spec_int ("trough-border",
                                                              P_("Trough Border"),
                                                              P_("Spacing between thumb/steppers and outer trough bevel"),
                                                              0,
@@ -361,7 +361,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                              1,
                                                              G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("stepper_size",
+                                          g_param_spec_int ("stepper-size",
                                                             P_("Stepper Size"),
                                                             P_("Length of step buttons at ends"),
                                                             0,
@@ -369,7 +369,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                             14,
                                                             G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("stepper_spacing",
+                                          g_param_spec_int ("stepper-spacing",
                                                             P_("Stepper Spacing"),
                                                             P_("Spacing between step buttons and thumb"),
                                                              0,
@@ -377,7 +377,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                             0,
                                                             G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("arrow_displacement_x",
+                                          g_param_spec_int ("arrow-displacement-x",
                                                             P_("Arrow X Displacement"),
                                                             P_("How far in the x direction to move the arrow when the button is depressed"),
                                                             G_MININT,
@@ -385,7 +385,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                             0,
                                                             G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("arrow_displacement_y",
+                                          g_param_spec_int ("arrow-displacement-y",
                                                             P_("Arrow Y Displacement"),
                                                             P_("How far in the y direction to move the arrow when the button is depressed"),
                                                             G_MININT,
index 9caa334e74571b9585000980fb5def3791c8ee07..8f8c02edfcc8fd361bbacd5d4a5f0dd3279c22d8 100644 (file)
@@ -146,7 +146,7 @@ gtk_ruler_class_init (GtkRulerClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_MAX_SIZE,
-                                   g_param_spec_double ("max_size",
+                                   g_param_spec_double ("max-size",
                                                        P_("Max Size"),
                                                        P_("Maximum size of the ruler"),
                                                        -G_MAXDOUBLE,
index ed61b3d4c5d976bb1efd72fb8487e2e1d1658844..2a9150a4ab7f080ea20791c339de70208d7ad31b 100644 (file)
@@ -178,7 +178,7 @@ gtk_scale_class_init (GtkScaleClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_DRAW_VALUE,
-                                   g_param_spec_boolean ("draw_value",
+                                   g_param_spec_boolean ("draw-value",
                                                         P_("Draw Value"),
                                                         P_("Whether the current value is displayed as a string next to the slider"),
                                                         FALSE,
@@ -186,7 +186,7 @@ gtk_scale_class_init (GtkScaleClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_VALUE_POS,
-                                   g_param_spec_enum ("value_pos",
+                                   g_param_spec_enum ("value-pos",
                                                      P_("Value Position"),
                                                      P_("The position in which the current value is displayed"),
                                                      GTK_TYPE_POSITION_TYPE,
@@ -194,7 +194,7 @@ gtk_scale_class_init (GtkScaleClass *class)
                                                      G_PARAM_READWRITE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("slider_length",
+                                          g_param_spec_int ("slider-length",
                                                             P_("Slider Length"),
                                                             P_("Length of scale's slider"),
                                                             0,
@@ -203,7 +203,7 @@ gtk_scale_class_init (GtkScaleClass *class)
                                                             G_PARAM_READABLE));
 
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("value_spacing",
+                                          g_param_spec_int ("value-spacing",
                                                             P_("Value spacing"),
                                                             P_("Space between value text and the slider/trough area"),
                                                             0,
index 8fbf7f92cbd86a81593b3bf5ab41cbddddf404fb..ba21fee6eb27d650a20ee994c4b31205c210242c 100644 (file)
@@ -246,7 +246,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_CLIMB_RATE,
-                                   g_param_spec_double ("climb_rate",
+                                   g_param_spec_double ("climb-rate",
                                                        P_("Climb Rate"),
                                                        P_("The acceleration rate when you hold down a button"),
                                                        0.0,
@@ -266,7 +266,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_SNAP_TO_TICKS,
-                                   g_param_spec_boolean ("snap_to_ticks",
+                                   g_param_spec_boolean ("snap-to-ticks",
                                                         P_("Snap to Ticks"),
                                                         P_("Whether erroneous values are automatically changed to a spin button's nearest step increment"),
                                                         FALSE,
@@ -290,7 +290,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
   
   g_object_class_install_property (gobject_class,
                                    PROP_UPDATE_POLICY,
-                                   g_param_spec_enum ("update_policy",
+                                   g_param_spec_enum ("update-policy",
                                                      P_("Update Policy"),
                                                      P_("Whether the spin button should update always, or only when the value is legal"),
                                                      GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY,
@@ -308,7 +308,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
                                                        G_PARAM_READWRITE));  
   
   gtk_widget_class_install_style_property_parser (widget_class,
-                                                 g_param_spec_enum ("shadow_type", 
+                                                 g_param_spec_enum ("shadow-type", 
                                                                     "Shadow Type", 
                                                                     P_("Style of bevel around the spin button"),
                                                                     GTK_TYPE_SHADOW_TYPE,
index 502b667d3e91f7e7328efb9198a732f31d05a08a..fed30e6878cbf3f6ad79bc6b5c324364d8d2fada 100644 (file)
@@ -173,7 +173,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_HAS_RESIZE_GRIP,
-                                  g_param_spec_boolean ("has_resize_grip",
+                                  g_param_spec_boolean ("has-resize-grip",
                                                         P_("Has Resize Grip"),
                                                         P_("Whether the statusbar has a grip for resizing the toplevel"),
                                                         TRUE,
@@ -200,7 +200,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
                  G_TYPE_STRING);
 
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("shadow_type",
+                                           g_param_spec_enum ("shadow-type",
                                                               P_("Shadow type"),
                                                               P_("Style of bevel around the statusbar text"),
                                                               GTK_TYPE_SHADOW_TYPE,
index d8bf67e4233757a6db3aa47486b363005808ff8b..142882726bbb7e6b23c2a321be04898afab287b0 100644 (file)
@@ -156,7 +156,7 @@ gtk_table_class_init (GtkTableClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_N_ROWS,
-                                   g_param_spec_uint ("n_rows",
+                                   g_param_spec_uint ("n-rows",
                                                     P_("Rows"),
                                                     P_("The number of rows in the table"),
                                                     0,
@@ -165,7 +165,7 @@ gtk_table_class_init (GtkTableClass *class)
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                    PROP_N_COLUMNS,
-                                   g_param_spec_uint ("n_columns",
+                                   g_param_spec_uint ("n-columns",
                                                     P_("Columns"),
                                                     P_("The number of columns in the table"),
                                                     0,
@@ -174,7 +174,7 @@ gtk_table_class_init (GtkTableClass *class)
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                    PROP_ROW_SPACING,
-                                   g_param_spec_uint ("row_spacing",
+                                   g_param_spec_uint ("row-spacing",
                                                     P_("Row spacing"),
                                                     P_("The amount of space between two consecutive rows"),
                                                     0,
@@ -183,7 +183,7 @@ gtk_table_class_init (GtkTableClass *class)
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                    PROP_COLUMN_SPACING,
-                                   g_param_spec_uint ("column_spacing",
+                                   g_param_spec_uint ("column-spacing",
                                                     P_("Column spacing"),
                                                     P_("The amount of space between two consecutive columns"),
                                                     0,
@@ -200,56 +200,56 @@ gtk_table_class_init (GtkTableClass *class)
 
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
-                                             g_param_spec_uint ("left_attach", 
+                                             g_param_spec_uint ("left-attach", 
                                                                 P_("Left attachment"), 
                                                                 P_("The column number to attach the left side of the child to"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_RIGHT_ATTACH,
-                                             g_param_spec_uint ("right_attach", 
+                                             g_param_spec_uint ("right-attach", 
                                                                 P_("Right attachment"), 
                                                                 P_("The column number to attach the right side of a child widget to"),
                                                                 1, 65535, 1,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TOP_ATTACH,
-                                             g_param_spec_uint ("top_attach", 
+                                             g_param_spec_uint ("top-attach", 
                                                                 P_("Top attachment"), 
                                                                 P_("The row number to attach the top of a child widget to"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_BOTTOM_ATTACH,
-                                             g_param_spec_uint ("bottom_attach",
+                                             g_param_spec_uint ("bottom-attach",
                                                                 P_("Bottom attachment"), 
                                                                 P_("The row number to attach the bottom of the child to"),
                                                                 1, 65535, 1,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_X_OPTIONS,
-                                             g_param_spec_flags ("x_options", 
+                                             g_param_spec_flags ("x-options", 
                                                                  P_("Horizontal options"), 
                                                                  P_("Options specifying the horizontal behaviour of the child"),
                                                                  GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
                                                                  G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_Y_OPTIONS,
-                                             g_param_spec_flags ("y_options", 
+                                             g_param_spec_flags ("y-options", 
                                                                  P_("Vertical options"), 
                                                                  P_("Options specifying the vertical behaviour of the child"),
                                                                  GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
                                                                  G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_X_PADDING,
-                                             g_param_spec_uint ("x_padding", 
+                                             g_param_spec_uint ("x-padding", 
                                                                 P_("Horizontal padding"), 
                                                                 P_("Extra space to put between the child and its left and right neighbors, in pixels"),
                                                                 0, 65535, 0,
                                                                 G_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_Y_PADDING,
-                                             g_param_spec_uint ("y_padding", 
+                                             g_param_spec_uint ("y-padding", 
                                                                 P_("Vertical padding"), 
                                                                 P_("Extra space to put between the child and its upper and lower neighbors, in pixels"),
                                                                 0, 65535, 0,
index 1bf1fdccb10b4437a4bd7cf7489264f1ff536c85..f78e8ba31699a3c7adc873a09bf6b2d519bd1fc8 100644 (file)
@@ -615,7 +615,7 @@ gtk_text_class_init (GtkTextClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_LINE_WRAP,
-                                   g_param_spec_boolean ("line_wrap",
+                                   g_param_spec_boolean ("line-wrap",
                                                         P_("Line Wrap"),
                                                         P_("Whether lines are wrapped at widget edges"),
                                                         TRUE,
@@ -623,7 +623,7 @@ gtk_text_class_init (GtkTextClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_WORD_WRAP,
-                                   g_param_spec_boolean ("word_wrap",
+                                   g_param_spec_boolean ("word-wrap",
                                                         P_("Word Wrap"),
                                                         P_("Whether words are wrapped at widget edges"),
                                                         FALSE,
index ebcd2d42f57ad6c2b3322cd43dae4930c4c4c23f..930312adf95cf4a397e7b03bfd129e039f6dc3a1 100644 (file)
@@ -180,7 +180,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
   /* Construct */
   g_object_class_install_property (object_class,
                                    PROP_TAG_TABLE,
-                                   g_param_spec_object ("tag_table",
+                                   g_param_spec_object ("tag-table",
                                                         P_("Tag Table"),
                                                         P_("Text Tag Table"),
                                                         GTK_TYPE_TEXT_TAG_TABLE,
index 129d81f47c80c51aaf2541fdfcfcfd97f85da836..ce7931a79bd99aa22eff8ec9679c432281c3edff 100644 (file)
@@ -134,10 +134,10 @@ gtk_tips_query_class_init (GtkTipsQueryClass *class)
   class->widget_entered = gtk_tips_query_widget_entered;
   class->widget_selected = NULL;
 
-  gtk_object_add_arg_type ("GtkTipsQuery::emit_always", GTK_TYPE_BOOL, GTK_ARG_READWRITE, ARG_EMIT_ALWAYS);
+  gtk_object_add_arg_type ("GtkTipsQuery::emit-always", GTK_TYPE_BOOL, GTK_ARG_READWRITE, ARG_EMIT_ALWAYS);
   gtk_object_add_arg_type ("GtkTipsQuery::caller", GTK_TYPE_WIDGET, GTK_ARG_READWRITE, ARG_CALLER);
-  gtk_object_add_arg_type ("GtkTipsQuery::label_inactive", GTK_TYPE_STRING, GTK_ARG_READWRITE, ARG_LABEL_INACTIVE);
-  gtk_object_add_arg_type ("GtkTipsQuery::label_no_tip", GTK_TYPE_STRING, GTK_ARG_READWRITE, ARG_LABEL_NO_TIP);
+  gtk_object_add_arg_type ("GtkTipsQuery::label-inactive", GTK_TYPE_STRING, GTK_ARG_READWRITE, ARG_LABEL_INACTIVE);
+  gtk_object_add_arg_type ("GtkTipsQuery::label-no-tip", GTK_TYPE_STRING, GTK_ARG_READWRITE, ARG_LABEL_NO_TIP);
 
   tips_query_signals[SIGNAL_START_QUERY] =
     gtk_signal_new ("start_query",
index accc86c0680890c4053e9617f2d25f7d4ac4268c..92a97934152d6725d3bae91fbf4f44655cacac88 100644 (file)
@@ -126,7 +126,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
 
   g_object_class_install_property (gobject_class,
                                    PROP_DRAW_AS_RADIO,
-                                   g_param_spec_boolean ("draw_as_radio",
+                                   g_param_spec_boolean ("draw-as-radio",
                                                          P_("Create the same proxies as a radio action"),
                                                          P_("Whether the proxies for this action look like radio action proxies"),
                                                          FALSE,
index f29ef7dc1c87250046522509d163cafc33cc37e4..fd846403bb130e90153d8ab98bcbab0b293040ec 100644 (file)
@@ -146,7 +146,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_DRAW_INDICATOR,
-                                   g_param_spec_boolean ("draw_indicator",
+                                   g_param_spec_boolean ("draw-indicator",
                                                         P_("Draw Indicator"),
                                                         P_("If the toggle part of the button is displayed"),
                                                         FALSE,
index 47c9546d71d01bce0f865b63c1155e9ff55761d2..0eab9f689d343dfa70c41029934c356c658a2903 100644 (file)
@@ -512,7 +512,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
   
   g_object_class_install_property (gobject_class,
                                   PROP_TOOLBAR_STYLE,
-                                  g_param_spec_enum ("toolbar_style",
+                                  g_param_spec_enum ("toolbar-style",
                                                      P_("Toolbar Style"),
                                                      P_("How to draw the toolbar"),
                                                      GTK_TYPE_TOOLBAR_STYLE,
@@ -520,7 +520,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                      G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_SHOW_ARROW,
-                                  g_param_spec_boolean ("show_arrow",
+                                  g_param_spec_boolean ("show-arrow",
                                                         P_("Show Arrow"),
                                                         P_("If an arrow should be shown if the toolbar doesn't fit"),
                                                         TRUE,
@@ -545,7 +545,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
   
   /* style properties */
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("space_size",
+                                          g_param_spec_int ("space-size",
                                                             P_("Spacer size"),
                                                             P_("Size of spacers"),
                                                             0,
@@ -554,7 +554,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                             G_PARAM_READABLE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_int ("internal_padding",
+                                          g_param_spec_int ("internal-padding",
                                                             P_("Internal padding"),
                                                             P_("Amount of border space between the toolbar shadow and the buttons"),
                                                             0,
@@ -563,7 +563,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                              G_PARAM_READABLE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_enum ("space_style",
+                                          g_param_spec_enum ("space-style",
                                                              P_("Space style"),
                                                              P_("Whether spacers are vertical lines or just blank"),
                                                               GTK_TYPE_TOOLBAR_SPACE_STYLE,
@@ -571,14 +571,14 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                               G_PARAM_READABLE));
   
   gtk_widget_class_install_style_property (widget_class,
-                                          g_param_spec_enum ("button_relief",
+                                          g_param_spec_enum ("button-relief",
                                                              P_("Button relief"),
                                                              P_("Type of bevel around toolbar buttons"),
                                                               GTK_TYPE_RELIEF_STYLE,
                                                               GTK_RELIEF_NONE,
                                                               G_PARAM_READABLE));
   gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_enum ("shadow_type",
+                                           g_param_spec_enum ("shadow-type",
                                                               P_("Shadow type"),
                                                               P_("Style of bevel around the toolbar"),
                                                               GTK_TYPE_SHADOW_TYPE,
index 2c6d33a8488220535a9aaf93f2becd198836d3ba..818da4bc6801ae7c097d96c19dcc5dba76691583 100644 (file)
@@ -184,28 +184,28 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_USE_UNDERLINE,
-                                  g_param_spec_boolean ("use_underline",
+                                  g_param_spec_boolean ("use-underline",
                                                         P_("Use underline"),
                                                         P_("If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_LABEL_WIDGET,
-                                  g_param_spec_object ("label_widget",
+                                  g_param_spec_object ("label-widget",
                                                        P_("Label widget"),
                                                        P_("Widget to use as the item label"),
                                                        GTK_TYPE_WIDGET,
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_STOCK_ID,
-                                  g_param_spec_string ("stock_id",
+                                  g_param_spec_string ("stock-id",
                                                        P_("Stock Id"),
                                                        P_("The stock icon displayed on the item"),
                                                        NULL,
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_ICON_WIDGET,
-                                  g_param_spec_object ("icon_widget",
+                                  g_param_spec_object ("icon-widget",
                                                        P_("Icon widget"),
                                                        P_("Icon widget to display in the item"),
                                                        GTK_TYPE_WIDGET,
index 18f617bd73da948b19bf65cccbf36562e08914a6..dd610dc673944c85a2e6ce9fa9973a771fc45ad8 100644 (file)
@@ -155,21 +155,21 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
   
   g_object_class_install_property (object_class,
                                   PROP_VISIBLE_HORIZONTAL,
-                                  g_param_spec_boolean ("visible_horizontal",
+                                  g_param_spec_boolean ("visible-horizontal",
                                                         P_("Visible when horizontal"),
                                                         P_("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
                                                         TRUE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_VISIBLE_VERTICAL,
-                                  g_param_spec_boolean ("visible_vertical",
+                                  g_param_spec_boolean ("visible-vertical",
                                                         P_("Visible when vertical"),
                                                         P_("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
                                                         TRUE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                   PROP_IS_IMPORTANT,
-                                  g_param_spec_boolean ("is_important",
+                                  g_param_spec_boolean ("is-important",
                                                         P_("Is important"),
                                                         P_("Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
                                                         FALSE,
index e025f73144df9340b0a16432fd52fc9d277276bd..3eb71d5ed2a2f1ccee7fb0ff8c80c16de50646dc 100644 (file)
@@ -323,7 +323,7 @@ gtk_tree_model_filter_class_init (GtkTreeModelFilterClass *filter_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_CHILD_MODEL,
-                                   g_param_spec_object ("child_model",
+                                   g_param_spec_object ("child-model",
                                                         ("The child model"),
                                                         ("The model for the filtermodel to filter"),
                                                         GTK_TYPE_TREE_MODEL,
@@ -331,7 +331,7 @@ gtk_tree_model_filter_class_init (GtkTreeModelFilterClass *filter_class)
 
   g_object_class_install_property (object_class,
                                    PROP_VIRTUAL_ROOT,
-                                   g_param_spec_boxed ("virtual_root",
+                                   g_param_spec_boxed ("virtual-root",
                                                        ("The virtual root"),
                                                        ("The virtual root (relative to the child model) for this filtermodel"),
                                                        GTK_TYPE_TREE_PATH,
index 66bf74cdaad5f564286a7e0a0cfafb654b5ebfae..16c2b318162f3194c84cf4e42f5254cf1ab791fe 100644 (file)
@@ -225,7 +225,7 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ADD_TEAROFFS,
-                                   g_param_spec_boolean ("add_tearoffs",
+                                   g_param_spec_boolean ("add-tearoffs",
                                                         P_("Add tearoffs to menus"),
                                                         P_("Whether tearoff menu items should be added to menus"),
                                                          FALSE,
index 7026834b6f8f593a5b2819adb69e295863f7698a..73cdf9fbbc564f5def284cb08f6b11bbc2f21eb5 100644 (file)
@@ -148,7 +148,7 @@ gtk_viewport_class_init (GtkViewportClass *class)
 
   g_object_class_install_property (gobject_class,
                                    PROP_SHADOW_TYPE,
-                                   g_param_spec_enum ("shadow_type",
+                                   g_param_spec_enum ("shadow-type",
                                                      P_("Shadow type"),
                                                      P_("Determines how the shadowed box around the viewport is drawn"),
                                                      GTK_TYPE_SHADOW_TYPE,